You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'pnick   '' AND domain_id = 10' at line 1
SELECT id,client_id,domain_id,url,title,body,meta_description,meta_keywords,meta_robots,meta_revisit_after,parent_url,collection,sortorder,createdat,updatedat,deleted FROM webpage WHERE url = ''   pnick   '' AND domain_id = 10